rootdir = ../..
include("$$rootdir/common.pri")

TEMPLATE = lib
CONFIG += qt warn_on
DEFINES += BUILD_NET_DLL
QT -= gui
TARGET = greenhills.net

public_headers = ../msgclientsocketconnection.h \
    ../msgserversocketconnection.h \
    ../msgsocketconnection.h \
    ../netdll.h

HEADERS += $$public_headers

SOURCES += msgclientsocketconnection.cpp \
    msgserversocketconnection.cpp \
    msgsocketconnection.cpp

LIBS += \
    -lgreenhills.io \
    -lgreenhills.util

wince*:{
LIBS += -lwinsock
}
else:win32* {
LIBS += -lwsock32
}
else:unix* {
}
